package com.qianli.cashmama.trade.client.vo;

import com.qianli.cashmama.trade.common.enums.TradeDiscountTypeEnum;

import java.io.Serializable;

/**
 * Created with IntelliJ IDEA.
 * User: sm
 * Date: 2017/7/25
 * Time: 下午7:34
 */
public class DiscountListVO implements Serializable {

    private String discountCode;

    /**
     * 优惠目标
     */
    private String target;

    /**
     * 优惠类型
     */
    private TradeDiscountTypeEnum discountTypeEnum;

    /**
     * 优惠金额
     */
    private String discountCapital;

    /**
     * 说明
     */
    private String info;

    public DiscountListVO() {
    }

    public DiscountListVO(String discountCode, TradeDiscountTypeEnum discountTypeEnum, String discountCapital) {
        this.discountCode = discountCode;
        this.discountTypeEnum = discountTypeEnum;
        this.discountCapital = discountCapital;
    }

    public DiscountListVO(String discountCode, TradeDiscountTypeEnum discountTypeEnum, String discountCapital, String info) {
        this.discountCode = discountCode;
        this.discountTypeEnum = discountTypeEnum;
        this.discountCapital = discountCapital;
        this.info = info;
    }

    public DiscountListVO setDiscountCode(String discountCode) {
        this.discountCode = discountCode;
        return this;
    }

    public DiscountListVO setTarget(String target) {
        this.target = target;
        return this;
    }

    public DiscountListVO setDiscountTypeEnum(TradeDiscountTypeEnum discountTypeEnum) {
        this.discountTypeEnum = discountTypeEnum;
        return this;
    }

    public DiscountListVO setDiscountCapital(String discountCapital) {
        this.discountCapital = discountCapital;
        return this;
    }

    public DiscountListVO setInfo(String info) {
        this.info = info;
        return this;
    }

    public String getTarget() {
        return target;
    }

    public String getDiscountCode() {
        return discountCode;
    }

    public TradeDiscountTypeEnum getDiscountTypeEnum() {
        return discountTypeEnum;
    }

    public String getDiscountCapital() {
        return discountCapital;
    }

    public String getInfo() {
        return info;
    }
}
